Cleantalk\ApbctWP\ConnectionReports S

Total Complexity 46
Dependencies 6
Dependents 1
Total lines 467
Lines of code 267
Logical lines of code 97
Comment lines 116
Methods 16
Properties 5

Methods 16

Method Rating Maintainability Complexity Lines of code
sendEmail()
A
39 7 65
prepareNegativeReportsHtmlForSettingsPage()
A
44 6 47
__construct()
S
57 5 18
getUnsentReportsIds()
S
62 5 11
sendUnsentReports()
S
61 4 13
handleRequest()
S
58 3 16
addReportToDb()
S
51 2 29
setReportAsSent()
S
61 2 15
getReportsDataByIds()
S
65 3 9
getReportsDataFromDb()
S
61 2 14
rotateReports()
S
60 2 12
updateStats()
S
70 1 6
hasNegativeReports()
S
80 1 3
hasUnsentReports()
S
80 1 3
remoteCallOutput()
S
82 1 3
wipeReportsData()
S
80 1 3